POV-Ray : Newsgroups : povray.general : Writing binary files with POV script : Re: Writing binary files with POV script Server Time
4 Aug 2024 08:23:13 EDT (-0400)
  Re: Writing binary files with POV script  
From: JC (Exether)
Date: 26 Aug 2003 03:00:59
Message: <3f4b05ab@news.povray.org>
Well, endianess can be taken into account by the primitives, you can 
have primitives outputing 4 bytes integers or IEEE floats so that you 
don't have to care about endianess. There could be a variable to give 
endianess of the machine too.

JC

Brendan Ryan wrote:
> JC (Exether) wrote:
> 
>> I would like to generate a df3 file directly from a pov script, 
>> generating it from pigments, a bit like Gilles' makecloud macro. But I 
>> had a look at the documentation, and it seems that you can only output 
>> text to a file.
>>
> 
> What about endianess?  Maybe the first byte or something could be used 
> to record the endianess used so that the data could be swapped if needed.
> 
> Brendan
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.